//
//  ZXLRadioListCell.m
//  EPA
//
//  Created by 朱兴隆 on 16/4/21.
//  Copyright © 2016年 朱兴隆. All rights reserved.
//

#import "ZXLRadioListCell.h"

@interface ZXLRadioListCell ()
@property (weak, nonatomic) IBOutlet UIImageView *coverImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *userImageView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;

@end
@implementation ZXLRadioListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
//- (void)setModel:(ZXLRadioListModel *)model {
//    
//}
- (void)layoutSubviews {
    //SDWebImage
    [self.coverImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
    
    [self.userImageView sd_setImageWithURL:[NSURL URLWithString:self.model.playInfoModel.icon]];
    self.userNameLabel.text = self.model.playInfoModel.uname;
    
}

@end
